package com.example.radiscache.service;

import com.example.commonsinterface.dto.WeatherResponse;
import com.example.commonsinterface.po.City;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@FeignClient(name = "USER-INTERFACE")
public interface userMysqlCity {

    @GetMapping("/searchCity")
    public List<City> searchCity();
}
